let title = "垂直过上车";

class Obj {
  constructor(data) {
    this.lessons = data;
  }
  get data() {
    return this.lessons;
  }
}

let lessons = [
  {
    name: "js",
    price: 100,
  },
  {
    name: "php",
    price: 300,
  },
];

let o1 = new Obj(lessons);

export { o1, title }; // 具名导出

// export { o1 as default, title }; // Obj默认导出，site具名导出
